#ifndef MONITORINGLOGIN_H
#define MONITORINGLOGIN_H

#include <QWidget>
#include <QTimer>
#include "MonitoringUserSqlite.h"
#include "MonitoringTool.h"
#include <QJsonObject>
#include "SnaillTcpClient.h"
namespace Ui {
class MonitoringLogin;
}

class MonitoringLogin : public QWidget
{
    Q_OBJECT

public:
    explicit MonitoringLogin(QWidget *parent = nullptr);
    ~MonitoringLogin();
    void timerFinish();
public slots:
    void handleDataReceived(const QByteArray &);
signals:
    void registerClick();
    void forgotClick();
    void loginClick(QString username);
private:
    Ui::MonitoringLogin *ui;
    QTimer *timer;
    MonitoringUserSqlite&userSqlite;

};

#endif // MONITORINGLOGIN_H
